function GetFileSystem(callback){
	var fsystem=new Object()
	
	fsystem.init=function(callback1){
		$.ajax({
			type:"GET",
			url:"/get_property",
			data:{q:"User HostName OS PathSeparator"},
			success:function(data,textStatus){
				for (i in data){
					fsystem[i]=data[i]
				}
				if(callback1)callback1()
			},
			err:function(xhr,textStatus,err){
				if(callback1)callback1()
			}
		})
	}
	fsystem.getFileInfo=function(name,callback1){
		$.ajax({
			type:"GET",
			url:"/file",
			data:{q:Base64.encode(name)},
			success:function(data,textStatus){
				if(callback1)callback1(data)
			},
			err:function(xhr,textStatus,err){
				if(callback1)callback1()
			}
		})
	}
	fsystem.getThumbnailPath=function(path){
		path="/download?q="+Base64.encode(path)
		return path
	}
	fsystem.getDownloadPath=function(path){
		path="/download?q="+Base64.encode(path)
		return path
	}
	fsystem.init(callback)
	return fsystem
}
function CreateImageElement(){
	var img=document.createElement("img")
	return img
}